<script>
	export default {
		onLaunch: function() {
			// #ifdef APP-PLUS
			const dom = weex.requireModule('dom')
			dom.addRule('fontFace', {
				'fontFamily': "iconfont4",
				'src': "url('./static/iconfont.ttf')"
			})
			// #endif
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import url("./common/iconfont.css");
	@import url("./common/global.css");
	page {
		background-color: #ededed;
	}
	.container {
		padding: 30rpx;
	}
	.iconfont {
   		font-family: iconfont;
	}
</style>
